package com.steam.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * [STRATO MyBatis Generator]
 * Table: candidate
@mbggenerated do_not_delete_during_merge 2017-03-08 11:08:01
 */
public class Candidate implements Serializable {
    /**
     * Column: candidate.id
    @mbggenerated 2017-03-08 11:08:01
     */
    private Integer id;

    /**
     *   用户对应的唯一的id
     * Column: candidate.userid
    @mbggenerated 2017-03-08 11:08:01
     */
    private Integer userid;

    /**
     *   发布的车源或者货源的唯一的id
     * Column: candidate.logisticsid
    @mbggenerated 2017-03-08 11:08:01
     */
    private Integer logisticsid;

    /**
     *   发布的车源或者货源的唯一的userid
     * Column: candidate.logisticsuserid
    @mbggenerated 2017-03-08 11:08:01
     */
    private Integer logisticsuserid;

    /**
     *   评分
     * Column: candidate.score
    @mbggenerated 2017-03-08 11:08:01
     */
    private Long score;

    /**
     *   候选人的电话
     * Column: candidate.phone
    @mbggenerated 2017-03-08 11:08:01
     */
    private String phone;

    /**
     *   创建时间
     * Column: candidate.createtime
    @mbggenerated 2017-03-08 11:08:01
     */
    private Date createtime;

    /**
     *   订单数
     * Column: candidate.ordercount
    @mbggenerated 2017-03-08 11:08:01
     */
    private Integer ordercount;

    /**
     *   用户的真实姓名
     * Column: candidate.username
    @mbggenerated 2017-03-08 11:08:01
     */
    private String username;

    /**
     *   参加竞选的人的地址
     * Column: candidate.useraddress
    @mbggenerated 2017-03-08 11:08:01
     */
    private String useraddress;

    /**
     * Table: candidate
    @mbggenerated 2017-03-08 11:08:01
     */
    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getLogisticsid() {
        return logisticsid;
    }

    public void setLogisticsid(Integer logisticsid) {
        this.logisticsid = logisticsid;
    }

    public Integer getLogisticsuserid() {
        return logisticsuserid;
    }

    public void setLogisticsuserid(Integer logisticsuserid) {
        this.logisticsuserid = logisticsuserid;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getOrdercount() {
        return ordercount;
    }

    public void setOrdercount(Integer ordercount) {
        this.ordercount = ordercount;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getUseraddress() {
        return useraddress;
    }

    public void setUseraddress(String useraddress) {
        this.useraddress = useraddress == null ? null : useraddress.trim();
    }
}